<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head><title>MyIsern-Orange-1.3</title></head>
  <body>
<p>
<table align="left" id="editMRes" >
  		<tr>
     		<td align="center" bgcolor="red" width="400px"><strong>Edit Researcher</strong></td>
   	    </tr>	    
   	    <tr>
   	    	<td>
   	    		&nbsp;
   	    	</td>
   	    </tr>
  </table>
  <stripes:form action="/MyIsern.action">
	<table align="left" id="editRes" >
    	<tr>
        	<td> 
      	    	Name:
      		</td>
      		<td>
      		
			<c:set var="element" value="${actionBean.researcherName}" ></c:set>
			<input value="${element}" name="researcherName"></input>	
      		</td>
           	</tr>
           	<tr>
        	<td> 
      	    	Organization:
      		</td>
      		<td>
      		<c:set var="foo" value="${actionBean.researcherOrganization}"/> 
			<c:set var="element" value="${actionBean.researcherOrganization}"></c:set>
			<input value="${element}" name="researcherOrganization"></input>	
      		</td>
           	</tr>
           	<tr>
        	<td> 
      	    	Email:
      		</td>
      		<td>
      		<c:set var="foo" value="${actionBean.email}"/> 
			<c:set var="element" value="${actionBean.email}"></c:set>
			<input value="${element}" name="email"></input>	
      		</td>
           	</tr>
           	 	<tr>
        	<td> 
      	    	Picture-Link:
      		</td>
      		<td>
      		<c:set var="foo" value="${actionBean.pictureLink}"/> 
			<c:set var="element" value="${actionBean.pictureLink}"></c:set>
			<input value="${element}" name="pictureLink"></input>	
      		</td>
           	</tr>
           	 	<tr>
        	<td> 
      	    	Bio-Statement:
      		</td>
      		<td>
      		<c:set var="foo" value="${actionBean.bioStatement}"/> 
			<c:set var="element" value="${actionBean.bioStatement}"></c:set>
			<input value="${element}" name="bioStatement"></input>	
      		</td>
           	</tr>
           	<tr>
           		<td>
           		&nbsp;
           		</td>
           	</tr>
           	<tr>
           	<td>
           		&nbsp;
           	</td>		
  	    <td>
  	     <stripes:button name="saveEditedResearcher" value=" Save "
    	            onclick="ajaxEditResearcher(this.form, this.name, 'error');"/>&nbsp;&nbsp;&nbsp
    	        <input type="button" value="Cancel" onclick="cancel();return false"></input>
    	 </td>
    	 </tr>
    </table>
</stripes:form>
 </body>
</html>